<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jgg_db_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jgg_db_num" class="form-control" name="row[jgg_db_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jgg_dg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jgg_dg_num" class="form-control" name="row[jgg_dg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jgg_zg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jgg_zg_num" class="form-control" name="row[jgg_zg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jgg_xg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jgg_xg_num" class="form-control" name="row[jgg_xg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fgg_db_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fgg_db_num" class="form-control" name="row[fgg_db_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fgg_dg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fgg_dg_num" class="form-control" name="row[fgg_dg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fgg_zg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fgg_zg_num" class="form-control" name="row[fgg_zg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fgg_xg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fgg_xg_num" class="form-control" name="row[fgg_xg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dg_db_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dg_db_num" class="form-control" name="row[dg_db_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dg_dg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dg_dg_num" class="form-control" name="row[dg_dg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dg_zg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dg_zg_num" class="form-control" name="row[dg_zg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dg_xg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dg_xg_num" class="form-control" name="row[dg_xg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cs_db_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cs_db_num" class="form-control" name="row[cs_db_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cs_dg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cs_dg_num" class="form-control" name="row[cs_dg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cs_zg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cs_zg_num" class="form-control" name="row[cs_zg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cs_xg_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cs_xg_num" class="form-control" name="row[cs_xg_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" name="row[address]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Work_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-work_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[work_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
